package com.example.android.ui.mine;

import com.example.android.bean.BaseBean;
import com.example.android.bean.Mine;
import com.example.android.network.RetrofitClient;
import com.example.android.network.service.GoodsService;

import io.reactivex.rxjava3.core.Flowable;

public class MineModel implements MineContract.IMineModel {
    @Override
    public Flowable<BaseBean<Mine>> getData() {
        return RetrofitClient.getInstance().getService(GoodsService.class).getMineData();
    }
}
